<?php

jimport( 'joomla.application.component.view' );

class ViewAdmin extends JView
{
	/**
	 * Display the view
	 */
	function display($images)
	{
		// load the component's language file
		//DEVNOTE: load component language. Print language name on thr last line.
		//
		$lang = & JFactory::getLanguage();
		$lang->load(JRequest::getVar( 'component' ));

		//DEVNOTE: set document title
		$document = & JFactory::getDocument();
		$document->setTitle( JText::_(' Geophoto admin page ') );

                //print_r($images);
                $this->assignRef( 'images' , $images );

                parent::display('admin');
        }
}
